package com.cskaoyan.service.system;

import com.cskaoyan.bean.BasePageInfo;
import com.cskaoyan.bean.bo.sysytem.RolePermissionsPostBo;
import com.cskaoyan.bean.vo.system.*;

import java.util.Map;

public interface RoleService {
    RoleListVo roleList(BasePageInfo info, String name);

    RoleCreateVo roleCreate(String name, String desc);

    Integer roleUpdate(Map map);

    RolePermissions0GetVo getRolePermissions(Integer roleId);

    Integer postRolePermissions(RolePermissionsPostBo bo);

    int roleDelete(RoleInfo roleInfo);

    RoleOptionsVo roleOptions();
}
